package xyz.yuanjilu.service;

import xyz.yuanjilu.entity.OaLeaveEntity;

import java.util.List;
import java.util.Map;

/**
 * 请假审批
 * 
 * @author 空空儿雪丽
 * @email KKOMGE@QQ.COM
 * @date 2017-11-01 15:53:23
 */
public interface OaLeaveService {
	
	OaLeaveEntity queryObject(Long id);
	
	List<OaLeaveEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OaLeaveEntity oaLeave);
	
	void update(OaLeaveEntity oaLeave);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
}
